execute unless score @s rmr.item.hatchet.cd matches 0.. run scoreboard players set @s rmr.item.hatchet.cd 0
execute if score @s rmr.item.hatchet.cd matches 1.. run scoreboard players remove @s rmr.item.hatchet.cd 1
execute if score @s rmr.item.hatchet.use matches 1.. if score @s rmr.item.hatchet.cd matches 0 if items entity @s weapon.mainhand carrot_on_a_stick[custom_data={id:"rmr:hatchet"}] at @s run function rmr:item/hatchet/use
execute if score @s rmr.item.hatchet.use matches 1.. run scoreboard players set @s rmr.item.hatchet.use 0
